package com.ning.ems.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Ning 242741154@qq.com
 * @date 2020/4/7 13:25
 */
@Api(tags = "系统登陆相关接口")
@RestController
public class LoginController {
    @ApiOperation("你好！")
    @GetMapping("/")
    public String hello() {
        return "Hello world!";
    }

    @ApiOperation("登录")
    @GetMapping("/login")
    public String login() {
        return "Hello world!";
    }

}
